//
//  NSObjectSafe.h
//  GALibrary
//
//  Created by WangWenhui on 2017/8/22.
//  Copyright © 2017年 途家. All rights reserved.
//

#import <Foundation/Foundation.h>

////////////////////////////////////////////////////

@interface NSObjectSafe : NSObject

@end

////////////////////////////////////////////////////

@interface NSObjectSafe (Dictionary)

+ (void) installDictionaryHook;

@end

////////////////////////////////////////////////////

@interface NSJSONSerialization (Safe)

+ (id) safe_JSONObjectWithData:(NSData *)data options:(NSJSONReadingOptions)opt error:(NSError **)error;
+ (NSData *) safe_dataWithJSONObject:(id)obj options:(NSJSONWritingOptions)opt error:(NSError **)error;

@end

////////////////////////////////////////////////////
